home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19980424-19980901
/
000030_news@newsmaster….columbia.edu _Mon May 4 23:33:53 1998.msg
< prev
next >
Wrap
Internet Message Format
|
1998-08-31
|
1KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA02899
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 4 May 1998 23:33:53 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id XAA23900
for kermit.misc@watsun; Mon, 4 May 1998 23:33:53 -0400 (EDT)
Path: news.columbia.edu!panix!nntprelay.mathworks.com!newsfeed.internetmci.com!4.1.16.34!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!worldnet.att.net!newsadm
From: Bernie <bfb@worldnet.att.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Error Handling
Date: Tue, 05 May 1998 03:31:07 +0000
Organization: AT&T WorldNet Services
Lines: 17
Message-ID: <6im161$mqo@bgtnsc03.worldnet.att.net>
NNTP-Posting-Host: 12.68.111.74
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.31 i586)
Xref: news.columbia.edu comp.protocols.kermit.misc:8682
Listed below is a code fragment which I hoped would
handle modem errors. However, when I turn the modem off,
it locks up. Is there a method I can use to handle errors, even if
the modem were powered off?
set count 3
:LOOP
pause
output AT\13
input 3 OK
if success goto ok
if count goto loop
Stop 1 Can't communicate with modem at \m(max_speed)
:OK ; Initialize the modem.